<?php if (!defined('THINK_PATH')) exit(); /*a:4:{s:80:"D:\xampp\htdocs\thinkphp5_home\public/../application/index\view\index\index.html";i:1478056741;s:82:"D:\xampp\htdocs\thinkphp5_home\public/../application/index\view\public\header.html";i:1478077558;s:92:"D:\xampp\htdocs\thinkphp5_home\public/../application/index\view\public\footer_bootstrap.html";i:1477885672;s:82:"D:\xampp\htdocs\thinkphp5_home\public/../application/index\view\public\footer.html";i:1477897597;}*/ ?>
<!doctype html>
<html>
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title><?php echo $CONFIG['name']; ?></title>
  <meta name="keywords" content="<?php echo $CONFIG['keywords']; ?>" />
  <meta name="description" content="<?php echo $CONFIG['description']; ?>" />
  <!--base href="<?php echo $CONFIG['domain']; ?>" target="_blank"-->
  
  <!--normalize reset-->
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/static/public_css/normalize/normalize.css" />
  <!--bootstrap-3.3.0-->
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/static/jquery/bootstrap-3.3.0/css/bootstrap.min.css" />
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/static/index/style/main.css" />
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/static/public_css/dropdown_menu.css" />
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/static/public_css/zxx.lib.css" />
</head>
<body>
  <header id="header">
  <nav class="navbar navbar-inverse" role="navigation">
    <!--自适应导航-->
    <div class="container"> 
      <!-- Brand and toggle get grouped for better mobile display -->
      <div class="navbar-header">
        <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
          <span class="sr-only">Toggle navigation</span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
        </button>
        <a class="navbar-brand p8" href="<?php echo url('Index/index'); ?>"><img src="__PUBLIC__/static/photos/logo.png"  height="50" alt="Logo"></a>
      </div>
      <!--宽度自适应折叠图标及LOGO END-->
      
      <!-- Collect the nav links, forms, and other content for toggling -->
      <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
        <ul class="nav navbar-nav">
            <li class="active"><a href="<?php echo url('Index/index'); ?>">首页</a></li>   
            <?php if(is_array($NAVS) || $NAVS instanceof \think\Collection): $i = 0; $__LIST__ = $NAVS;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$item): $mod = ($i % 2 );++$i;?>
                <!-- 循环分类栏目数据,并且根据栏目类型的不同,将栏目链接设计为跳转到不同的控制器 -->
                <?php if(in_array('children', array_keys($item))== true): ?>
                <li class="dropdown">
                  <a href="#" class="dropdown-toggle" data-toggle="dropdown" title="<?php echo $item['name_cn']; ?>"><?php echo $item['name_cn']; ?><span class="caret"></span></a>
                  <ul  class="dropdown-menu menu-top" role="menu">
                    <?php foreach($item['children'] as $vo): if(in_array('children', array_keys($vo))== true): ?>
                        <li class="dropdown-submenu">
                            <a href="#" title="<?php echo $vo['name_cn']; ?>"><?php echo $vo['name_cn']; ?></a>
                            <ul class="dropdown-menu">
                                <?php foreach($vo['children'] as $sub_item_01): ?> 
                                  <li><a href="<?php echo url('Category/index',array('id'=>$sub_item_01['id'])); ?>" title="<?php echo $sub_item_01['name_cn']; ?>"><?php echo $sub_item_01['name_cn']; ?></a>
                                  </li>
                                <?php endforeach; ?>
                            </ul>
                        </li>
                        <?php else: ?> 
                        <li><a href="<?php echo url('Category/index',array('id'=>$vo['id'])); ?>" title="<?php echo $vo['name_cn']; ?>"><?php echo $vo['name_cn']; ?></a></li>
                        <?php endif; endforeach; ?>
                  </ul>
                </li>
                <?php else: ?> 
                <li><a href="<?php echo url('Category/index',array('id'=>$item['id'])); ?>" title="<?php echo $item['name_cn']; ?>"><?php echo $item['name_cn']; ?></a></li>
                <?php endif; endforeach; endif; else: echo "" ;endif; ?>
        </ul>    
      </div><!-- /.navbar-collapse -->
    </div><!-- /.container-fluid -->
  </nav>
</header>
  <section>
    <div class="container">
      <div class="row">
        <!--左侧内容-->
        <div class="col-sm-9 col-md-9">
          <!--Banner区-->
          <div class="banner">
            <!--焦点图区-->
            <div class="banner-left">
              <a target="_blank" href="/"><img width="670" height="360" src="" alt=""></a>
            </div>
            <!--推荐位-->
            <div class="banner-right">
              <ul>
                <li>
                  <a target="_blank" href=""><img width="150" height="113" src="" alt=""></a>
                </li>
              </ul>
            </div>
          </div>
          <!--新闻列表区-->
          <div class="news-list">

            <?php if(is_array($ARTICLES) || $ARTICLES instanceof \think\Collection): $i = 0; $__LIST__ = $ARTICLES;if( count($__LIST__)==0 ) : echo "暂时没有数据" ;else: foreach($__LIST__ as $key=>$ARTICLE): $mod = ($i % 2 );++$i;?>
            <dl>
              <dt><a target="_blank" href="<?php echo url('article/index', array('id'=>$ARTICLE['id'])); ?>"><?php echo $ARTICLE['title']; ?></a></dt>
              <dd class="news-img">
                <a target="_blank" href="<?php echo url('article/index', array('id'=>$ARTICLE['id'])); ?>"><img width="200" height="120" src="__PUBLIC__<?php echo $ARTICLE['thumbnail']; ?>" alt=""></a>
              </dd>
              <dd class="news-intro"><?php echo $ARTICLE['excerpt']; ?>
              </dd>
              <dd class="news-info">
              <p class="postmeta">发布时间<span class="meta meta_bydate"><?php echo $ARTICLE['create_time']; ?></span>阅读(<i class="news_count"><?php echo $ARTICLE['clicks']; ?></i>)</p>
              </dd>
            </dl>
            <?php endforeach; endif; else: echo "暂时没有数据" ;endif; ?>
          </div>
        </div>
        <!--左侧内容结束-->
        <!--网站右侧信息
        <include file="Index/right" />-->
      </div>
    </div>
  </section>
  <!--
  <section>
    <div class="container">
      <div id="tree_pages"></div>
    </div>
  </section>
  -->
  <script type="text/javascript" src="__PUBLIC__/static/jquery/2.2.4/jquery.min.js"></script>
<script type="text/javascript" src="__PUBLIC__/static/jquery/bootstrap-3.3.0/js/bootstrap.min.js"></script>
<script type="text/javascript" src="__PUBLIC__/static/jquery/bootstrap-treeview/js/bootstrap-treeview.js"></script>
  <footer id="footer_info">
  <div class="container" id="info">
    <ul>
      <li>关于我们</li>
      <li>联系我们</li>
    </ul>
  </div>
</footer>
<footer id="footer_copyright">
  <div class="container">
    <div id="copyright">
      Copyright © 1997-2016 by www.baidu.com all rights reserved
    </div>
  </div>
</footer>
  
  <!--加载静态页面导航树
  <script type="text/javascript">
    $('#tree_pages').treeview({
      data: <?php echo $PAGE_NAV_JSON; ?>,
      showBorder: false,
      enableLinks: true,
      icon: "glyphicon glyphicon-stop",
    });
  </script>
  -->
</body>
</html>